﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Windows;
using Hardcodet.Wpf.TaskbarNotification;

namespace RemoteCommands
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App : Application
    {
        public static TaskbarIcon TrayIcon;

        private void Application_Startup(object sender, StartupEventArgs e)
        {
            TrayIcon = (TaskbarIcon)App.Current.FindResource("MyNotifyIcon");

            // Change current directory - that need to be done cause auto-start current directory is "system32".
            Environment.CurrentDirectory = AppDomain.CurrentDomain.BaseDirectory;
        }
    }
}
